<div class="form-object">
  <div class="form-container">

    <div class="form-edit-header">
      <button type="button" (click)="addObject()">
        添加对象
      </button>
    </div>

    <div class="form-content">
      <table border="1">

        <ng-container *ngFor="let item of array; let i = index">
          <tr>
            <td>
              <ngx-form-object [fg]="item"></ngx-form-object>
            </td>
            <td>
              <button type="button" (click)="removeObject(i)">删除对象</button>
            </td>
          </tr>
        </ng-container>


      </table>
    </div>


  </div>

</div>
